package edu.sctu.practice.class02.hujie.cgs.practice02.test23;
//Pure water 纯净水
/**
 * Created by user14 on 2015/11/10.
 */
public class PureWater extends Water implements Process{
    public PureWater(int temperature) {
        super(temperature);
    }

    public void buffer(){
        System.out.println("缓冲");
    }
    public void filter(){
        System.out.println("过滤");
    }
    public void heat(){
        System.out.println("加热");
    }
    public void sugaring(){
        System.out.println("加糖");
    }
    public void process() {

        System.out.println("水温：" + temperature);
        System.out.println("*******纯净水生产线*******");
        buffer();
        filter();
        heat();
        sugaring();
    }
}
